package com.qf.dao;

import com.qf.domain.Goods;
import com.qf.domain.User;

import java.util.List;

/**
 * @author YDW
 * projectName:shopping
 * time:2022/4/21 11:16
 * description:
 */
public interface AdminDao {
    User selectByUsernameAndPassword(String username, String password);

    List<User> findAllUser();

    void deleteUserById(String id);

    List<User> findByUsernameAndGender(String where, List<Object> params);

    List<User> findAllinvalidUser();

    void loseUser(String id);

    List<User> findinvalidUserByUsernameAndGender(String where, List<Object> params);

    void activateUser(String id);

    Long findUserCount();

    List<User> findData(int i, int pageSize);
}
